package com.cms.enums;


import java.util.HashMap;
import java.util.Map;

/**
 *
 * 模型类型
 *
 */
public enum ModelType {

    PAGE("单页"),
    LIST("列表");
    public String text;
    ModelType(String text){
        this.text = text;
    }
    public String getText(){
        return this.text;
    }
    public static Map<Integer, ModelType> typeValueMap = new HashMap<>();
    static {
        ModelType[] values = ModelType.values();
        for (ModelType type : values) {
            typeValueMap.put(type.ordinal(), type);
        }
    }

}
